﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2010 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器 V4.3.3.6 自动创建于 2010/4/21 17:07:35
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;

namespace OPMS_IBS_2.Model
{
	/// <summary>
	/// 实体类 Token
	/// </summary>
	[Serializable]
	public class Token : ICloneable
	{
		public Token()
		{ }

		/// <summary>
		/// 构造函数 Token
		/// </summary>
		/// <param name="iD">ID</param>
		/// <param name="name">Name</param>
		/// <param name="ownTimeTable">OwnTimeTable</param>
		public Token(Guid iD, string name, Guid ownTimeTable)
		{
			_iD = iD;
			_name = name;
			_ownTimeTable = ownTimeTable;
		}

		#region Model

		private Guid _iD;
		private string _name;
		private Guid _ownTimeTable;
		/// <summary>
		/// ID
		/// </summary>
		public Guid ID
		{
			set { _iD = value; }
			get { return _iD; }
		}
		/// <summary>
		/// Name
		/// </summary>
		public string Name
		{
			set { _name = value; }
			get { return _name; }
		}
		/// <summary>
		/// OwnTimeTable
		/// </summary>
		public Guid OwnTimeTable
		{
			set { _ownTimeTable = value; }
			get { return _ownTimeTable; }
		}

		#endregion

		#region ICloneable 成员

		public object Clone()
		{
			return this.MemberwiseClone();
		}

		#endregion
	}
}
